All skeletal and cardiac muscles and most smooth muscles arise from mesoderm cells, except the pupillary muscles which arise from ectoderm.